<template>
  <div class="container">
    <header>
      <Header></Header>
    </header>
    <div class="stage"></div>
    <div class="serve">
      <img src="./images/title_serve.png" alt="">
      <div class="contentServe">
        <img v-for="(img, index) in images" :key="img" :src="require(`${img}`)" class="gallery-item"
          :style="{ transitionDelay: index * 0.1 + 's' }" />
      </div>
    </div>
    <div class="process"></div>
    <div class="question">
      <img src="./images/title_question.png" alt="">
      <el-collapse v-model="activeName" accordion>
        <el-collapse-item title="一致性 Consistency" name="1">
          <div>与现实生活一致：与现实生活的流程、逻辑保持一致，遵循用户习惯的语言和概念；</div>
          <div>在界面中一致：所有的元素和结构需保持一致，比如：设计样式、图标和文本、元素的位置等。</div>
        </el-collapse-item>
        <el-collapse-item title="反馈 Feedback" name="2">
          <div>控制反馈：通过界面样式和交互动效让用户可以清晰的感知自己的操作；</div>
          <div>页面反馈：操作后，通过页面元素的变化清晰地展现当前状态。</div>
        </el-collapse-item>
        <el-collapse-item title="效率 Efficiency" name="3">
          <div>简化流程：设计简洁直观的操作流程；</div>
          <div>清晰明确：语言表达清晰且表意明确，让用户快速理解进而作出决策；</div>
          <div>帮助用户识别：界面简单直白，让用户快速识别而非回忆，减少用户记忆负担。</div>
        </el-collapse-item>
        <el-collapse-item title="可控 Controllability" name="4">
          <div>用户决策：根据场景可给予用户操作建议或安全提示，但不能代替用户进行决策；</div>
          <div>结果可控：用户可以自由的进行操作，包括撤销、回退和终止当前操作等。</div>
        </el-collapse-item>
      </el-collapse>
    </div>
    <Footer></Footer>
  </div>
</template>

<script>
import Header from '../../components/Header'
import Footer from '../../components/Footer'
export default {
  name: 'join',
  data() {
    return {
      images: [
        './images/serve1.png',
        './images/serve2.png',
        './images/serve3.png',
        './images/serve4.png',
        './images/serve5.png',
        './images/serve6.png',
      ],
      activeName: '1'
    };
  },
  components: {
    Header, Footer
  }
}
</script>

<style scoped>
.container {
  width: 100%;
  min-height: 100vh;
}

header {
  width: 100%;
  height: 100vh;
  background-size: 100% 100%;
  background-image: url('./images/background.png');
}

.stage {
  margin: 50px 0;
  width: 100%;
  height: 700px;
  background-image: url('./images/stage.png');
  background-size: 100% 100%;
  text-align: center;
}

.serve {
  margin: 50px 0;
  width: 100%;
  height: 1100px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contentServe {
  margin: 50px 0;
  width: 80%;
  min-height: 800px;
}

.contentServe img{
  width: 20%;
}

.gallery-item {
  margin: 50px;
}

.process {
  margin: 50px 0;
  width: 100%;
  height: 700px;
  background-image: url('./images/process.png');
  background-size: 100% 100%;
  text-align: center;
}

.question {
  margin: 100px 0;
  width: 100%;
  height: 600px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.el-collapse {
  width: 80%;
  margin-top: 50px;
}
</style>
<style>
/* 标题 */
.el-collapse-item__header {
  height: 80px;
  font-size: 16px;
}

.el-collapse-item__content{
  font-size: 14px;
}
</style>